﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000BD1 RID: 3025
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MonopolyScrachRaffleTicketScRsp : IMessage<MonopolyScrachRaffleTicketScRsp>, IMessage, IEquatable<MonopolyScrachRaffleTicketScRsp>, IDeepCloneable<MonopolyScrachRaffleTicketScRsp>, IBufferMessage
	{
		// Token: 0x17002615 RID: 9749
		// (get) Token: 0x06008742 RID: 34626 RVA: 0x0016734D File Offset: 0x0016554D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MonopolyScrachRaffleTicketScRsp> Parser
		{
			get
			{
				return MonopolyScrachRaffleTicketScRsp._parser;
			}
		}

		// Token: 0x17002616 RID: 9750
		// (get) Token: 0x06008743 RID: 34627 RVA: 0x00167354 File Offset: 0x00165554
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MonopolyScrachRaffleTicketScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002617 RID: 9751
		// (get) Token: 0x06008744 RID: 34628 RVA: 0x00167366 File Offset: 0x00165566
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MonopolyScrachRaffleTicketScRsp.Descriptor;
			}
		}

		// Token: 0x06008745 RID: 34629 RVA: 0x0016736D File Offset: 0x0016556D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyScrachRaffleTicketScRsp()
		{
		}

		// Token: 0x06008746 RID: 34630 RVA: 0x00167375 File Offset: 0x00165575
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyScrachRaffleTicketScRsp(MonopolyScrachRaffleTicketScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.poolId_ = other.poolId_;
			this.aBJCHBJJMIO_ = other.aBJCHBJJMIO_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06008747 RID: 34631 RVA: 0x001673B2 File Offset: 0x001655B2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyScrachRaffleTicketScRsp Clone()
		{
			return new MonopolyScrachRaffleTicketScRsp(this);
		}

		// Token: 0x17002618 RID: 9752
		// (get) Token: 0x06008748 RID: 34632 RVA: 0x001673BA File Offset: 0x001655BA
		// (set) Token: 0x06008749 RID: 34633 RVA: 0x001673C2 File Offset: 0x001655C2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17002619 RID: 9753
		// (get) Token: 0x0600874A RID: 34634 RVA: 0x001673CB File Offset: 0x001655CB
		// (set) Token: 0x0600874B RID: 34635 RVA: 0x001673D3 File Offset: 0x001655D3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PoolId
		{
			get
			{
				return this.poolId_;
			}
			set
			{
				this.poolId_ = value;
			}
		}

		// Token: 0x1700261A RID: 9754
		// (get) Token: 0x0600874C RID: 34636 RVA: 0x001673DC File Offset: 0x001655DC
		// (set) Token: 0x0600874D RID: 34637 RVA: 0x001673E4 File Offset: 0x001655E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ulong ABJCHBJJMIO
		{
			get
			{
				return this.aBJCHBJJMIO_;
			}
			set
			{
				this.aBJCHBJJMIO_ = value;
			}
		}

		// Token: 0x0600874E RID: 34638 RVA: 0x001673ED File Offset: 0x001655ED
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MonopolyScrachRaffleTicketScRsp);
		}

		// Token: 0x0600874F RID: 34639 RVA: 0x001673FC File Offset: 0x001655FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MonopolyScrachRaffleTicketScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.PoolId == other.PoolId && this.ABJCHBJJMIO == other.ABJCHBJJMIO && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06008750 RID: 34640 RVA: 0x00167458 File Offset: 0x00165658
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.PoolId != 0U)
			{
				num ^= this.PoolId.GetHashCode();
			}
			if (this.ABJCHBJJMIO != 0UL)
			{
				num ^= this.ABJCHBJJMIO.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06008751 RID: 34641 RVA: 0x001674C9 File Offset: 0x001656C9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06008752 RID: 34642 RVA: 0x001674D1 File Offset: 0x001656D1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06008753 RID: 34643 RVA: 0x001674DC File Offset: 0x001656DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.Retcode);
			}
			if (this.ABJCHBJJMIO != 0UL)
			{
				output.WriteRawTag(40);
				output.WriteUInt64(this.ABJCHBJJMIO);
			}
			if (this.PoolId != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.PoolId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06008754 RID: 34644 RVA: 0x00167550 File Offset: 0x00165750
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.PoolId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PoolId);
			}
			if (this.ABJCHBJJMIO != 0UL)
			{
				num += 1 + CodedOutputStream.ComputeUInt64Size(this.ABJCHBJJMIO);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06008755 RID: 34645 RVA: 0x001675C0 File Offset: 0x001657C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MonopolyScrachRaffleTicketScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.PoolId != 0U)
			{
				this.PoolId = other.PoolId;
			}
			if (other.ABJCHBJJMIO != 0UL)
			{
				this.ABJCHBJJMIO = other.ABJCHBJJMIO;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06008756 RID: 34646 RVA: 0x00167624 File Offset: 0x00165824
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06008757 RID: 34647 RVA: 0x00167630 File Offset: 0x00165830
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					if (num != 40U)
					{
						if (num != 80U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.PoolId = input.ReadUInt32();
						}
					}
					else
					{
						this.ABJCHBJJMIO = input.ReadUInt64();
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04003379 RID: 13177
		private static readonly MessageParser<MonopolyScrachRaffleTicketScRsp> _parser = new MessageParser<MonopolyScrachRaffleTicketScRsp>(() => new MonopolyScrachRaffleTicketScRsp());

		// Token: 0x0400337A RID: 13178
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400337B RID: 13179
		public const int RetcodeFieldNumber = 1;

		// Token: 0x0400337C RID: 13180
		private uint retcode_;

		// Token: 0x0400337D RID: 13181
		public const int PoolIdFieldNumber = 10;

		// Token: 0x0400337E RID: 13182
		private uint poolId_;

		// Token: 0x0400337F RID: 13183
		public const int ABJCHBJJMIOFieldNumber = 5;

		// Token: 0x04003380 RID: 13184
		private ulong aBJCHBJJMIO_;
	}
}
